From 7ce80e59d44c239e268f1bda3bcbc6ab71b4b1f3 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 21 Mar 2006 11:34:41 +0100 Subject: [PATCH] Fix a bug, and also fixes the build with some gcc4 versions. Signed-off-by: Keir Fraser --- xen/arch/x86/genapic/es7000plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/genapic/es7000plat.c b/xen/arch/x86/genapic/es7000plat.c index 032ac972d7..1d7d0d5776 100644 --- a/xen/arch/x86/genapic/es7000plat.c +++ b/xen/arch/x86/genapic/es7000plat.c @@ -165,7 +165,7 @@ find_unisys_acpi_oem_table(unsigned long *oem_addr) unsigned long rsdp_phys = 0; struct acpi_table_header *header = NULL; int i; - struct acpi_table_sdt sdt; + struct acpi_table_sdt sdt = { 0 }; /* initialise sdt.count */ rsdp_phys = acpi_find_rsdp(); rsdp = __va(rsdp_phys); -- 2.30.2